﻿Imports System.IO.IsolatedStorage
Imports System.IO

Namespace IO
    Public Module IsolatedStorageHelper
        Public Sub WriteFileToIsolatedStorage(fileName As String, fileContent As String)
            Using isoFile = IsolatedStorageFile.GetUserStoreForApplication
                Using isoFileStream = isoFile.CreateFile(fileName)
                    Using sw As New StreamWriter(isoFileStream)
                        sw.Write(fileContent)
                    End Using
                End Using
            End Using
        End Sub
    End Module
End Namespace